//
//  GSMenuViewController.m
//  AgileNYC
//
//  Created by German on 13.07.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import "GSMenuViewController.h"

NSString * const menuScheduleButtonClickNotification = @"menuScheduleButtonClickNotification";
NSString * const menuContactsButtonClickNotification = @"menuContactsButtonClickNotification";
NSString * const menuMyProfileButtonClickNotification = @"menuMyProfileButtonClickNotification";
NSString * const menuHelpButtonClickNotification = @"menuHelpButtonClickNotification";
NSString * const menuAboutButtonClickNotification = @"menuAboutButtonClickNotification";
NSString * const menuSettingsButtonClickNotification = @"menuSettingsButtonClickNotification";
NSString * const menuCloseButtonClickNotification = @"menuCloseButtonClickNotification";

@interface GSMenuViewController ()

@end

@implementation GSMenuViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
}

- (void)didReceiveMemoryWarning {[super didReceiveMemoryWarning];}

- (IBAction)onScheduleButtonClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuScheduleButtonClickNotification object:nil];
}

- (IBAction)onConnectButtonClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuContactsButtonClickNotification object:nil];
}

- (IBAction)onMyProfileButtonClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuMyProfileButtonClickNotification object:nil];
}

- (IBAction)onHelpButtonClick:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuHelpButtonClickNotification object:nil];
}

- (IBAction)onAboutButtonClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuAboutButtonClickNotification object:nil];
}

- (IBAction)onSettingsButtonClick:(id)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuSettingsButtonClickNotification object:nil];
}

- (IBAction)onCloseMenuButtonClick:(UIButton *)sender {
    [[NSNotificationCenter defaultCenter] postNotificationName:menuCloseButtonClickNotification object:nil];
}
@end
